package com.tanhua.dubbo.api.db;

import com.tanhua.model.db.BlackList;
import com.tanhua.model.vo.PageResult;

public interface BlackListApi {
    /**
     * 分页查询黑名单
     * @param userId
     * @param page
     * @param pageSize
     * @return
     */
    PageResult<BlackList> findPage(Long userId, Long page, Long pageSize);

    /**
     * 移除黑名单
     * @param blackUserId
     */
    void removeBlack(Long userId, Long blackUserId);
}
